
#include <iostream>
#include <algorithm>
#include <vector>

using namespace std;
#define int long long

void solve()
{
    int x;
    cin >> x;
    if (x % 2 == 1)
    {
        for (int i = x; i >= 1; i--)
            cout << i << " ";
        cout << endl;
    }
    else
        cout << "-1" << endl;
}
signed main()
{
    int t;
    cin >> t;
    while (t--)
    {
        solve();
    }
    return 0;
}